package com.itany.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Author:石小俊
 * Date: 2022/11/2 17:06
 */
@Target({ElementType.TYPE,ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface OtherAnnotation {

    String password() default "123456";
    String[] methods() default {"get","post"};

}
